package cn.com.yiqi.wsc.entity.customer;

import java.math.BigDecimal;
import java.util.Date;

public class Rank {
    /**
    * 主键id
    */
    private Integer id;

    /**
    * 等级权重 会员等级权重，值越大越重要
    */
    private Byte weight;

    /**
    * 等级名称
    */
    private String name;

    /**
    * 交易额 满足条件之一：交易额
    */
    private BigDecimal dealAmount;

    /**
    * 交易次数 满足条件之一：交易次数
    */
    private Integer dealTime;

    /**
    * 等级描述
    */
    private String desc;

    /**
    * 等级类型 1积分会员 2VIP会员
    */
    private Byte type;

    /**
    * 成长值下限
    */
    private Integer minGrouthValue;

    /**
    * 返还积分比率
    */
    private Float pointFactor;

    /**
    * 获得成长值比率
    */
    private Float grouthValueFactor;

    /**
    * 会员折扣
    */
    private Float discountFactor;

    /**
    * 有效期天数 规定多少天内消费未满规定金额，则自动降级
    */
    private Integer indate;

    /**
    * 规定时间内消费未满规定金额，则自动降级
    */
    private BigDecimal indateDeal;

    /**
    * 新增时间
    */
    private Date insertTime;

    /**
    * 新增用户id
    */
    private Integer insertUserId;

    /**
    * 修改时间
    */
    private Date updateTime;

    /**
    * 修改用户id
    */
    private Integer updateUserId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Byte getWeight() {
        return weight;
    }

    public void setWeight(Byte weight) {
        this.weight = weight;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getDealAmount() {
        return dealAmount;
    }

    public void setDealAmount(BigDecimal dealAmount) {
        this.dealAmount = dealAmount;
    }

    public Integer getDealTime() {
        return dealTime;
    }

    public void setDealTime(Integer dealTime) {
        this.dealTime = dealTime;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Integer getMinGrouthValue() {
        return minGrouthValue;
    }

    public void setMinGrouthValue(Integer minGrouthValue) {
        this.minGrouthValue = minGrouthValue;
    }

    public Float getPointFactor() {
        return pointFactor;
    }

    public void setPointFactor(Float pointFactor) {
        this.pointFactor = pointFactor;
    }

    public Float getGrouthValueFactor() {
        return grouthValueFactor;
    }

    public void setGrouthValueFactor(Float grouthValueFactor) {
        this.grouthValueFactor = grouthValueFactor;
    }

    public Float getDiscountFactor() {
        return discountFactor;
    }

    public void setDiscountFactor(Float discountFactor) {
        this.discountFactor = discountFactor;
    }

    public Integer getIndate() {
        return indate;
    }

    public void setIndate(Integer indate) {
        this.indate = indate;
    }

    public BigDecimal getIndateDeal() {
        return indateDeal;
    }

    public void setIndateDeal(BigDecimal indateDeal) {
        this.indateDeal = indateDeal;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Integer getInsertUserId() {
        return insertUserId;
    }

    public void setInsertUserId(Integer insertUserId) {
        this.insertUserId = insertUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
}